// 引入axios | 路径配置
import { AJAX_PATH } from "@/services/config.js";

// 导入 封装的 有权限请求
import { HTTP_LIMITED } from "@/utils/axios.js";

class QiChuShuJuLuRuHttp extends HTTP_LIMITED {
  // 期初数据录入列表
  GetBeginningDataentryList(data) {
    
    return this._get(AJAX_PATH.GetBeginningDataentryList + data);
  }

  // 期初数据录入保存
  addBeginningDataentry(data) {
    return this._post(AJAX_PATH.addBeginningDataentry, data);
  }

  // 期初数据-删除
  deleteBeginningDataentry(data) {
    return this._get(AJAX_PATH.deleteBeginningDataentry + data);
  }

  // 期初数据录入-修改
  updateBeginningDataentry(options) {
    return this._post(AJAX_PATH.updateBeginningDataentry, options)
  }
  getInventoryTypeGoodsInfo(data) {// 获取相应存货分类下物品信息
    return this._get(AJAX_PATH.getInventoryTypeGoodsInfo + data);
}

GetPackageList1(data) {// 获取存货分类编码
  return this._get(AJAX_PATH.GetPackageList1 + data);
}
GetFenLeiGuanLi() {//存货分类-存货分类树
  return this._get(AJAX_PATH.GetFenLeiGuanLi);
}
}

export { QiChuShuJuLuRuHttp };
